<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibQQt: GumboInternalOptions Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibQQt
   &#160;<span id="projectnumber">v3.1</span>
   </div>
   <div id="projectbrief">开源、跨平台Qt应用程序框架中间件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="struct_gumbo_internal_options-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">GumboInternalOptions Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="gumbo_8h_source.html">gumbo.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:acac0fe2be11fb72dcdb39d9c417dd31d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="gumbo_8h.html#aaf78769ab19b5fbe291f7977cae899df">GumboAllocatorFunction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_gumbo_internal_options.html#acac0fe2be11fb72dcdb39d9c417dd31d">allocator</a></td></tr>
<tr class="separator:acac0fe2be11fb72dcdb39d9c417dd31d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02f657a8c26adca403786187741ea00c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="gumbo_8h.html#a19e07a5e573bf194295141fba654d2ea">GumboDeallocatorFunction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_gumbo_internal_options.html#a02f657a8c26adca403786187741ea00c">deallocator</a></td></tr>
<tr class="separator:a02f657a8c26adca403786187741ea00c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0614a8d24cd66f81028402531ba436a"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_gumbo_internal_options.html#ab0614a8d24cd66f81028402531ba436a">userdata</a></td></tr>
<tr class="separator:ab0614a8d24cd66f81028402531ba436a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa355be463e9592c127b2a1ef056f6ebe"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_gumbo_internal_options.html#aa355be463e9592c127b2a1ef056f6ebe">tab_stop</a></td></tr>
<tr class="separator:aa355be463e9592c127b2a1ef056f6ebe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9ab039f1b40708234f78cf3f6e46bd7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_gumbo_internal_options.html#aa9ab039f1b40708234f78cf3f6e46bd7">stop_on_first_error</a></td></tr>
<tr class="separator:aa9ab039f1b40708234f78cf3f6e46bd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3783862d2151c993cbc7b2243ade614d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_gumbo_internal_options.html#a3783862d2151c993cbc7b2243ade614d">max_errors</a></td></tr>
<tr class="separator:a3783862d2151c993cbc7b2243ade614d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e7e60aee3ec81b2faee2b504a26321f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="gumbo_8h.html#a5a3aa6f4b039f85875d638088e676a0f">GumboTag</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_gumbo_internal_options.html#a7e7e60aee3ec81b2faee2b504a26321f">fragment_context</a></td></tr>
<tr class="separator:a7e7e60aee3ec81b2faee2b504a26321f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacbd6eac053b48200595fea13abec223"><td class="memItemLeft" align="right" valign="top"><a class="el" href="gumbo_8h.html#a5792dfd02513e421fb8f083f08e58cc6">GumboNamespaceEnum</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_gumbo_internal_options.html#aacbd6eac053b48200595fea13abec223">fragment_namespace</a></td></tr>
<tr class="separator:aacbd6eac053b48200595fea13abec223"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Input struct containing configuration options for the parser. These let you specify alternate memory managers, provide different error handling, etc. Use kGumboDefaultOptions for sensible defaults, and only set what you need. </p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="acac0fe2be11fb72dcdb39d9c417dd31d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acac0fe2be11fb72dcdb39d9c417dd31d">&#9670;&nbsp;</a></span>allocator</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="gumbo_8h.html#aaf78769ab19b5fbe291f7977cae899df">GumboAllocatorFunction</a> GumboInternalOptions::allocator</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>A memory allocator function. Default: malloc. </p>

</div>
</div>
<a id="a02f657a8c26adca403786187741ea00c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02f657a8c26adca403786187741ea00c">&#9670;&nbsp;</a></span>deallocator</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="gumbo_8h.html#a19e07a5e573bf194295141fba654d2ea">GumboDeallocatorFunction</a> GumboInternalOptions::deallocator</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>A memory deallocator function. Default: free. </p>

</div>
</div>
<a id="a7e7e60aee3ec81b2faee2b504a26321f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e7e60aee3ec81b2faee2b504a26321f">&#9670;&nbsp;</a></span>fragment_context</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="gumbo_8h.html#a5a3aa6f4b039f85875d638088e676a0f">GumboTag</a> GumboInternalOptions::fragment_context</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The fragment context for parsing: <a href="https://html.spec.whatwg.org/multipage/syntax.html#parsing-html-fragments">https://html.spec.whatwg.org/multipage/syntax.html#parsing-html-fragments</a></p>
<p>If GUMBO_TAG_LAST is passed here, it is assumed to be "no fragment", i.e. the regular parsing algorithm. Otherwise, pass the tag enum for the intended parent of the parsed fragment. We use just the tag enum rather than a full node because that's enough to set all the parsing context we need, and it provides some additional flexibility for client code to act as if parsing a fragment even when a full HTML tree isn't available.</p>
<p>Default: GUMBO_TAG_LAST </p>

</div>
</div>
<a id="aacbd6eac053b48200595fea13abec223"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aacbd6eac053b48200595fea13abec223">&#9670;&nbsp;</a></span>fragment_namespace</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="gumbo_8h.html#a5792dfd02513e421fb8f083f08e58cc6">GumboNamespaceEnum</a> GumboInternalOptions::fragment_namespace</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The namespace for the fragment context. This lets client code differentiate between, say, parsing a &lt;title&gt; tag in SVG vs. parsing it in HTML. Default: GUMBO_NAMESPACE_HTML </p>

</div>
</div>
<a id="a3783862d2151c993cbc7b2243ade614d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3783862d2151c993cbc7b2243ade614d">&#9670;&nbsp;</a></span>max_errors</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int GumboInternalOptions::max_errors</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The maximum number of errors before the parser stops recording them. This is provided so that if the page is totally borked, we don't completely fill up the errors vector and exhaust memory with useless redundant errors. Set to -1 to disable the limit. Default: -1 </p>

</div>
</div>
<a id="aa9ab039f1b40708234f78cf3f6e46bd7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9ab039f1b40708234f78cf3f6e46bd7">&#9670;&nbsp;</a></span>stop_on_first_error</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GumboInternalOptions::stop_on_first_error</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Whether or not to stop parsing when the first error is encountered. Default: false. </p>

</div>
</div>
<a id="aa355be463e9592c127b2a1ef056f6ebe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa355be463e9592c127b2a1ef056f6ebe">&#9670;&nbsp;</a></span>tab_stop</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int GumboInternalOptions::tab_stop</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The tab-stop size, for computing positions in source code that uses tabs. Default: 8. </p>

</div>
</div>
<a id="ab0614a8d24cd66f81028402531ba436a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab0614a8d24cd66f81028402531ba436a">&#9670;&nbsp;</a></span>userdata</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* GumboInternalOptions::userdata</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>An opaque object that's passed in as the first argument to all callbacks used by this library. Default: NULL. </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>R:/Develop/a0-develop/LibQQt/src/network/gumbo/parser/src/<a class="el" href="gumbo_8h_source.html">gumbo.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
